import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'systemMaster-control',
  templateUrl: './systemMaster-control.component.html',
  styleUrls: ['./systemMaster-control.component.scss'],
})
export class SystemMasterControlComponent implements OnInit {

  // 系统监控总控
  // department: any = 'ECC008'; // 部门枚举

  config: any = [
    {
      title: '风险商品库存账',
      api: 'scm.warning.stockWarningService.stockQtyWarning',
      drawer: {
        'title': '风险商品库存账详情',
        'action': 'drawer',
        'formId':'scm.warning.stockWarningService.stockQtyWarningItem',
        'width':'40vw',
      }
    },
    {
      title: '异常消息订阅',
      api: 'crm.systemMonitoring.findAll',
      span: '12',
      drawer: {
        'title': '异常消息订阅详情',
        'action': 'drawer',
        'formId':'crm.systemMonitoring',
        'width':'40vw',
      }
    },
  ]

  constructor() {

  }

  ngOnInit() {

  }

}

